package com.wct.mall.service;

import org.springframework.stereotype.Service;
import javax.annotation.Resource;
import com.wct.mall.mapper.PmsProductAttributeCategoryMapper;
import com.wct.mall.domain.PmsProductAttributeCategory;

@Service
public class PmsProductAttributeCategoryService {

    @Resource
    private PmsProductAttributeCategoryMapper pmsProductAttributeCategoryMapper;


    public int deleteByPrimaryKey(Long id) {
        return pmsProductAttributeCategoryMapper.deleteByPrimaryKey(id);
    }


    public int insert(PmsProductAttributeCategory record) {
        return pmsProductAttributeCategoryMapper.insert(record);
    }


    public int insertSelective(PmsProductAttributeCategory record) {
        return pmsProductAttributeCategoryMapper.insertSelective(record);
    }


    public PmsProductAttributeCategory selectByPrimaryKey(Long id) {
        return pmsProductAttributeCategoryMapper.selectByPrimaryKey(id);
    }


    public int updateByPrimaryKeySelective(PmsProductAttributeCategory record) {
        return pmsProductAttributeCategoryMapper.updateByPrimaryKeySelective(record);
    }


    public int updateByPrimaryKey(PmsProductAttributeCategory record) {
        return pmsProductAttributeCategoryMapper.updateByPrimaryKey(record);
    }

}

